package com.zhengxing.jienci.content.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zhengxing.jienci.common.pojo.CustomizePage;
import com.zhengxing.jienci.common.pojo.Information;
import com.zhengxing.jienci.common.pojo.InformationAndUser;
import com.zhengxing.jienci.common.support.SimpleResponse;

public interface InformationService {

	public IPage<Information> list(CustomizePage page, Information information);
	
	public IPage<Information> listAttention(CustomizePage page);
	
	public IPage<Information> listByUserId(CustomizePage page, Information information);
	
	public InformationAndUser queryById(String id);

	public SimpleResponse apply(Information information);

	public SimpleResponse verify(String id, int state);

	public SimpleResponse deleteById(String id);
	
	public SimpleResponse giveOrCancelGood(String id);
	
	public SimpleResponse isGood(String id);

}
